package com.chunlin.polymrphism;

public class Child extends Parent{
    String name = "Child";

    @Override
    public void display() {
        System.out.println("Child display: " + name);
    }
}
